package com.e_manager.soft.emanager.token;

/**
 * @author : lip[lip4051@163.com]
 * @create : 2018/3/14 0014 上午 10:27
 */
public class TokenConstant {
    /**
     * token有效期
     */
    public static final int TOKEN_EXPIRES_HOUR = 72;
    /**
     * 存储当前登录用户id的字段名
     */
    public static final String CURRENT_USER_ID = "CURRENT_USER_ID";

    /**
     * 存放Authorization的header字段
     */
    public static final String AUTHORIZATION = "authorization";

    /**
     * 默认字段0
     */
    public static final String ZERO = "0";

    /**
     * 默认字段1
     */
    public static final String ONE = "1";

    /**
     * 接受
     */
    public static final String ACCEPT = "接受";

    /**
     * 已接受
     */
    public static final String ACCEPTED = "已接受";

    /**
     * 已过期
     */
    public static final String EXPIRED = "已过期";

    /**
     *
     */
    public static final String CONDITION = "邀请您监控他家";
}
